﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_BillStatePl, App_Web_billstatepl.aspx.fdf7a39c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main-admin.css" rel="stylesheet" type="text/css" />

    <script src="../Jscript/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../Jscript/page.js" type="text/javascript"></script>

    <style type="text/css">
        .listslee
        {
            width: 120px;
            border: 1px solid #CCC;
            height: 20px;
        }
    </style>

    <script type="text/javascript">


        function ToSet(tp) {




            var v = $("." + tp + ":first").val();
            $("." + tp).val(v);

        }





   
    </script>

</head>
<body>

    <script type="text/javascript" src="../DatePicker/WdatePicker.js"></script>

    <form id="form1" runat="server">
    <div class="title">
        状态批量录入</div>
    <div class="trans-search-title">
        <div class="trans-edit-no">
            货运单号</div>
        <div class="trans-edit-logo">
            当前状态</div>
        <div class="trans-edit-logo">
            时间
            <img src="../images/arr-down-s.gif" width="13" height="13" align="absmiddle" onclick="ToSet('date')" /></div>
        <div class="trans-edit-logoname" style="width: 150px">
            状态
            <img src="../images/arr-down-s.gif" width="13" height="13" align="absmiddle" onclick="ToSet('listslee')" /></div>
        <div class="trans-edit-logoname" style="width: 130px">
            转运公司
            <img src="../images/arr-down-s.gif" width="13" height="13" align="absmiddle" onclick="ToSet('gsname')" /></div>
        <div class="trans-edit-logoname" style="width: 120px">
            转运号
            <img src="../images/arr-down-s.gif" width="13" height="13" align="absmiddle" onclick="ToSet('zydh')" /></div>
        <div class="trans-edit-logoname" style="width: 150px">
            备注
            <img src="../images/arr-down-s.gif" width="13" height="13" align="absmiddle" onclick="ToSet('bz')" /></div>
    </div>
    <asp:Repeater ID="list" runat="server">
        <ItemTemplate>
            <div class="trans-search-line">
                <div class="trans-edit-no">
                    <asp:Label ID="seplb" runat="server" ForeColor="Red" Text='<%#Eval("Sep").ToString() == "True"?"Sep":""%>'></asp:Label>
                    <a href="#">
                        <asp:Label ID="no_txt" Text='<%#Eval("TrackingNo")%>' runat="server"></asp:Label></a></div>
                <div class="trans-edit-logo">
                    <%#Eval("UPEXState")%>&nbsp;</div>
                <div class="trans-edit-logo">
                    <asp:TextBox ID="datestate" runat="server" CssClass="date" onclick="WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                        Width="140"></asp:TextBox></div>
                <div class="trans-edit-logoname" style="width: 150px">
                    <asp:DropDownList ID="imagelist" runat="server" Width="140" CssClass="listslee" DataSource='<%#GetState() %>'
                        DataTextField="Description" DataValueField="BSID">
                    </asp:DropDownList>
                </div>
                <div class="trans-edit-logoname" style="width: 130px">
                    <asp:DropDownList ID="zygs" runat="server" CssClass="gsname" Width="120" DataSource='<%#GetZygfs() %>'
                        DataTextField="CompanyName" DataValueField="ID">
                    </asp:DropDownList>
                </div>
                <div class="trans-edit-logoname" style="width: 120px">
                    <asp:TextBox ID="zydh" runat="server" CssClass="zydh" Width="110"></asp:TextBox>
                </div>
                    <div class="trans-edit-logoname" style="width: 150px">
                    <asp:TextBox ID="beizhutxt" runat="server" CssClass="bzcs" Width="150"></asp:TextBox>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <asp:Label ForeColor="Red" ID="showerr" runat="server"></asp:Label>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 20px;
        text-align: center;">
        <asp:ImageButton ImageAlign="AbsMiddle" ID="okbtn" runat="server" ImageUrl="~/images/btn-save-trans.gif"
            Width="192" Height="40" OnClick="okbtn_Click" />
    </div>
    <!-- body end here -->
    </form>
</body>
</html>
